package events

type EventParams[T any] struct {
	EventBase[T, func(...T)]
	//eventChan chan T
}

func NewEventParams[T any]() *EventParams[T] {
	return &EventParams[T]{}
}

func (_this *EventParams[T]) Event(param ...T) {
	cal := func(eventParam *func(...T)) {
		(*eventParam)(param...)
	}
	_this.EventBase.event(&cal)
}
